package com.yigang.service;


import java.util.List;
import java.util.Map;

import com.yigang.entity.Exercise;
import com.yigang.utils.ResultUtil;

public interface ActivityService {
	ResultUtil selectActivityList(Integer page, Integer limit,Exercise record);

	ResultUtil deleteByPrimaryKey(Integer activity_id);

	ResultUtil insertSelective(Exercise record);

	ResultUtil updateByPrimaryKeySelective(Exercise record);
	
	Exercise selectActivityById(int activity_id);
	
	public List<Map<String, Object>> getAllActivity();
}
